package org.anderground.internal.graphics.factories;

import org.anderground.core.graphics.factories.RadialGradientFactory;
import org.anderground.internal.graphics.abstaractions.AbstractShader;
import org.anderground.internal.graphics.impl.AndroidRadialGradient;

public class RadialGradientFactoryImpl extends RadialGradientFactory {

	@Override
	public AbstractShader create(float x, float y, float radius, int color0,
			int color1) {
		assert (radius > 0);
		return new AndroidRadialGradient(x, y, radius, color0, color1);
	}
}
